package com.forum.dto;

public class PaymentListDto {
    private Integer id;         // 点赞记录ID
    private String createAt;    // 点赞时间（例如格式化为 "yyyy-MM-dd"）
    private ArticleBriefDto article;  // 点赞的文章信息：id和title
    private UserBasicDto user;          // 文章作者信息：id、name、avatar

    // getters & setters
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getCreateAt() {
        return createAt;
    }
    public void setCreateAt(String createAt) {
        this.createAt = createAt;
    }
    public ArticleBriefDto getArticle() {
        return article;
    }
    public void setArticle(ArticleBriefDto article) {
        this.article = article;
    }
    public UserBasicDto getUser() {
        return user;
    }
    public void setUser(UserBasicDto user) {
        this.user = user;
    }
}
